package com.rogchen.security.securitycustomuser.configuration.permission;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Rogchen rogchen128@gmail.com
 * @description:
 * @product: IntelliJ IDEA
 * @created Date: 19-11-15 11:29
 **/
public interface RsbPermission {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
